﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{

    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("LmAction", "LmAction", new string[] { "ACTIONID" })]
    [KnownType(typeof(ActionInfo))]
    public class ActionInfo : MB.Orm.Common.BaseModel
    {
        public ActionInfo()
        {

        }
        private int _ACTIONID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ACTIONID", System.Data.DbType.Int32)]
        public int ACTIONID
        {
            get { return _ACTIONID; }
            set { _ACTIONID = value; }
        }
        private int _ACTIONTYPECODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ACTIONTYPECODE", System.Data.DbType.Int32)]
        public int ACTIONTYPECODE
        {
            get { return _ACTIONTYPECODE; }
            set { _ACTIONTYPECODE = value; }
        }

        private string _PROJECTNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PROJECTNAME", System.Data.DbType.String)]
        public string PROJECTNAME
        {
            get { return _PROJECTNAME; }
            set { _PROJECTNAME = value; }
        }
        private string _TYPENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TYPENAME", System.Data.DbType.String)]
        public string TYPENAME
        {
            get { return _TYPENAME; }
            set { _TYPENAME = value; }
        }
        private string _OPERATION;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OPERATION", System.Data.DbType.String)]
        public string OPERATION
        {
            get { return _OPERATION; }
            set { _OPERATION = value; }
        }

        private string _OPERATIONOLD;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OPERATIONOLD", System.Data.DbType.String)]
        public string OPERATIONOLD
        {
            get { return _OPERATIONOLD; }
            set { _OPERATIONOLD = value; }
        }


        private string _OPERATIONNEW;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OPERATIONNEW", System.Data.DbType.String)]
        public string OPERATIONNEW
        {
            get { return _OPERATIONNEW; }
            set { _OPERATIONNEW = value; }
        }


        private string _OPCONTENT;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OPCONTENT", System.Data.DbType.String)]
        public string OPCONTENT
        {
            get { return _OPCONTENT; }
            set { _OPCONTENT = value; }
        }

        private string _CREATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.String)]
        public string CREATEDATE
        {
            get { return _CREATEDATE; }
            set { _CREATEDATE = value; }
        }

        private string _USERNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERNAME", System.Data.DbType.String)]
        public string USERNAME
        {
            get { return _USERNAME; }
            set { _USERNAME = value; }
        }

        private string _USERCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERCODE", System.Data.DbType.String)]
        public string USERCODE
        {
            get { return _USERCODE; }
            set { _USERCODE = value; }
        }

        [DataMember]
        public string ErrorMsg { get; set; }
    }
}
